package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

public interface CheckGroupService {
    void add(CheckGroup checkGroup ,Integer[] checkitemIds);
    PageResult findPage(QueryPageBean queryPageBean);
    CheckGroup findGroupById(Integer id );

    List<Integer> findCheckItemByCheckGroupId(Integer id);

     void edit(CheckGroup checkGroup, Integer[] checkitemIds);

    void deleteGroupById(Integer id);

    List<CheckGroup> findAllGroups();

}
